/*
author:
start_date:
version:
*/

//website:

/*
thought:
*/


#include <.h>

int main(void) {
  int T;
  cin >> T;
  int a,b,c,d,k;
  int res;
  for (int i = 0; i < T; i++)
 {
   res = 0;
   cin >> a >> b >> c >> d >> k;
    /* code */

    std::cout << "Case 1: " << res << '\n';
  }




  return 0;
}
